import { h } from "vue";
import SvgIcon from "@/components/svg-icon.vue";

export const useIconRender = (name:string, size: number  = 24, props: Record<string, any> = {})=>{
    return h(SvgIcon, { name, size, ...props })
}